package com.platform.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 运单全流程生命周期状态节点对象 gjc_mawb_nodes
 *
 * @author platform
 * @date 2023-04-20
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GjcMawbNodes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 运单3位前缀 */
    @Excel(name = "运单3位前缀")
    private String billPrefix;

    /** 运单8位单号 */
    @Excel(name = "运单8位单号")
    private String billNo;

    /** 分单号 */
    @Excel(name = "分单号")
    private String billHno;

    /** 节点航班日期 YYYYMMDD */
    @Excel(name = "节点航班日期 YYYYMMDD")
    private String fdate;

    /** 节点航班号，类似与MU1234 */
    @Excel(name = "节点航班号，类似与MU1234")
    private String fno;

    /** 节点件数 */
    @Excel(name = "节点件数")
    private Long pc;

    /** 节点重量 */
    @Excel(name = "节点重量")
    private String weight;

    /** 货物节点代码 */
    @Excel(name = "货物节点代码")
    private String nodeCode;

    /** 货物节点名称 */
    @Excel(name = "货物节点名称")
    private String nodeName;

    /** 货物节点发生机场 */
    @Excel(name = "货物节点发生机场")
    private String nodeAp;

    /** 货物节点发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "货物节点发生时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nodeTime;

    /** 货物节点备注 */
    @Excel(name = "货物节点备注")
    private String nodeRemark;

    /** 时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间戳", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date ts;

}
